class Attendance < ActiveRecord::Base
  belongs_to :event
  belongs_to :user
  
  def ==(other)
    self.event.id == other.event.id && self.user.id == other.user.id
  end
end
